package org.jeecg.modules.cosmetic.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 产品配方
 * @Author: jeecg-boot
 * @Date:   2022-06-30
 * @Version: V1.0
 */
@Data
@TableName("t_formula")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="t_formula对象", description="产品配方")
public class TFormula implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private java.lang.Long id;
	/**安评报告产品主键*/
	@Excel(name = "安评报告产品主键", width = 15)
    @ApiModelProperty(value = "安评报告产品主键")
    private java.lang.Long productId;
	/**配方父类ID*/
	@Excel(name = "配方父类ID", width = 15)
    @ApiModelProperty(value = "配方父类ID")
    private java.lang.Long parentId;
    /**排序序号*/
    @Excel(name = "排序序号", width = 15)
    @ApiModelProperty(value = "排序序号")
    private java.lang.Integer idxNum;
    /**原料ID*/
    @Excel(name = "原料ID", width = 15)
    @ApiModelProperty(value = "原料ID")
    private java.lang.Integer iecicId;
	/**原料序号*/
	@Excel(name = "原料序号", width = 15)
    @ApiModelProperty(value = "原料序号")
    private java.lang.String iecicNum;
	/**主要使用目的*/
	@Excel(name = "主要使用目的", width = 15)
    @ApiModelProperty(value = "主要使用目的")
    private java.lang.String majorUsePurpose;
	/**标准中文名称*/
	@Excel(name = "标准中文名称", width = 15)
    @ApiModelProperty(value = "标准中文名称")
    private java.lang.String cnName;
	/**INCI名称/英文名*/
	@Excel(name = "INCI名称/英文名", width = 15)
    @ApiModelProperty(value = "INCI名称/英文名")
    private java.lang.String incicName;
	/**原料含量百分比*/
	@Excel(name = "原料含量百分比", width = 15)
    @ApiModelProperty(value = "原料含量百分比")
    private java.lang.String materialContent;
	/**原料成分含量百分比*/
	@Excel(name = "原料成分含量百分比", width = 15)
    @ApiModelProperty(value = "原料成分含量百分比")
    private java.lang.String ingredientContent;
	/**实际成分含量百分比*/
	@Excel(name = "实际成分含量百分比", width = 15)
    @ApiModelProperty(value = "实际成分含量百分比")
    private java.lang.String actualContent;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
}
